package com.sky.service;

import com.sky.vo.BusinessDataVO;
import com.sky.vo.DishOverViewVO;
import com.sky.vo.OrderOverViewVO;
import com.sky.vo.SetmealOverViewVO;

import java.time.LocalDate;
import java.time.LocalDateTime;

public interface WorkSpaceService {

    /**
     * 查询今日运营数据
     * @return
     */
    BusinessDataVO businessData();

    /**
     *  查询总共套餐总览
     * @return
     */
    SetmealOverViewVO overViewSetMeals();

    /**
     * 查询总共菜品总览
     * @return
     */
    DishOverViewVO overViewDishes();

    /**
     * 查询总共订单总览
     * @return
     */
    OrderOverViewVO overViewOrders();

    /**
     * 根据时间段统计营业数据
     * @param begin
     * @param end
     * @return
     */
    BusinessDataVO getBusinessData(LocalDateTime begin, LocalDateTime end);
}
